package sensorSelectionFramework;

public class OptimalSensorsSet extends SensorSet{
	
	private int budget = 0;
	private int benefit = 0;
	//private int cost = 0;
	//private List<Sensor> sensorList = new ArrayList<Sensor>();
	//
	
	public void setBudget(int budget) {
		this.budget = budget;
	}
	public int getBudget() {
		return budget;
	}
	public void setBenefit(int benefit) {
		this.benefit = benefit;
	}
	public int getBenefit() {
		return benefit;
	}
	
	public void printSetElement()
	{
		System.out.println("There are "+ getSensorNumber()+ " sensors selected.");
		for(Sensor sensor: sensorList)
		{
			System.out.println("Sensor "+sensor.getId()+" has been selected");
		}
		System.out.println("The total cost of current sensors set is "+ getTotalCost());
	}
	

}
